//
//  Company.m
//  iRMAP
//
//  Created by Ryan Enguero on 4/2/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import "Company.h"

@implementation Company

- (NSString*)domainId{

    return _domainIdStr;
}

- (NSString*)companyId{

    return _companyIdStr;
}

- (NSString*)companyName{

    return _companyNameStr;
}

- (NSString*)contactName{

    return _contactNameStr;
}

- (NSString*)contactEmail{

    return _contactEmailStr;
}

- (NSString*)contactCellPhone{

    return _contactCellPhoneStr;
}

- (NSString*)companyAddress{

    return _companyAddressStr;
}

- (NSString*)zoneId{

    return _zoneIdStr;
}

- (NSString*)amcDateFrom{

    return _amcDateFromStr;
}

- (NSString*)amcDateTo{

    return _amcDateToStr;
}

+ (instancetype)companyWithDomainID:(NSString*)domID andCompanyID:(NSString*)comID andCompanyName:(NSString*)comName andContactName:(NSString*)contName andContactEmail:(NSString*)contEmail andContactCellPhone:(NSString*)contCP andCompanyAddress:(NSString*)comAddress andZoneID:(NSString*)zoneID andAmcDateFrom:(NSString*)amcDF andAmcDateTo:(NSString*)amcDT{


    Company *company = [[self alloc] init];
    
    company.domainIdStr = domID;
    company.companyIdStr = comID;
    company.companyNameStr = comName;
    company.contactNameStr = contName;
    company.contactEmailStr = contEmail;
    company.contactCellPhoneStr = contCP;
    company.companyAddressStr = comAddress;
    company.zoneIdStr = zoneID;
    company.amcDateFromStr = amcDF;
    company.amcDateToStr = amcDT;
    
    
    return company;

}

@end
